package com.design.pattern.command.projection3;

import java.util.List;

/**
 * 渠道
 */
public  class ConcreteCommandChannel implements CommandChannel {

    /**
     * 执行命令
     * @param command 命令
     */
    @Override
    public void spreadTheOrder(Command command,CommandExecutor executor) {

            executor.execute(command);

    }
}
